home *** CD-ROM | disk | FTP | other *** search
- rem ┌───────────────────────────────────────────────────────────────────────┐
- rem │ This File is called by the AIMS program to backup the AIMS files to │
- rem │ floppy drive. The commands in this file can be modifies to use other │
- rem │ backup commands such as PKZIP(tm) or ARJ(tm). │
- rem └───────────────────────────────────────────────────────────────────────┘
- echo Starting the Backup of the AIMS files...
- echo Starting the Backup of the AIMS files... >> backup.log
- backup *.* a: /s
- if errorlevel 4 goto error
- if errorlevel 3 goto abort
- if errorlevel 2 goto conflict
- if errorlevel 1 goto no_files
- if errorlevel 0 goto sucess
- :error
- echo Backup Stopped the process due to an error.
- echo Backup Stopped the process due to an error. >> backup.log
- goto exit
- :abort
- echo Backup Aborted by User.
- echo Backup Aborted by User. >> backup.log
- goto exit
- :conflict
- echo One or more files were not backup up due to sharing conflict
- echo One or more files were not backup up due to sharing conflict. >> backup.log
- goto exit
- :no_files
- echo No Files to be Backed up.
- echo No Files to be Backed up. >> backup.log
- goto exit
- :success
- echo Backup Completed Successfully.
- echo Backup Completed Successfully. >> backup.log
- goto exit
- :exit
- echo >> backup.log
-